
source_dir="lua-5.2.3"
if [ ! -d "$source_dir" ]; then
	git clone https://git.oschina.net/wr4ng1er/lua-5.2.3.git
else
	echo $source_dir
fi 


cd $source_dir
make linux
make install 

cat >> /etc/profile <<EOFLUA
export LUA_LIB=/usr/local/lib
export LUA_INC=/usr/local/include
EOFLUA

source /etc/profile





